<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- SEO Meta Tags -->
    <meta name="description" content="">

    <!-- OG Meta Tags to improve the way the post looks when you share the page on LinkedIn, Facebook, Google+ -->
    <meta property="og:site_name" content=""> <!-- website name -->
    <meta property="og:site" content=""> <!-- website link -->
    <meta property="og:title" content=""> <!-- title shown in the actual shared post -->
    <meta property="og:description" content=""> <!-- description shown in the actual shared post -->
    <meta property="og:image" content=""> <!-- image link, make sure it's jpg -->
    <meta property="og:url" content=""> <!-- where do you want your post to link to -->
    <meta property="og:type" content="article">

    <!-- Website Title -->
    <title>iMC</title>

    <!-- Styles -->
    <link href="./index/css" rel="stylesheet">
    <link href="./index/bootstrap.css" rel="stylesheet">
    <link href="./index/fontawesome-all.css" rel="stylesheet">
    <link href="./index/swiper.css" rel="stylesheet">
    <link href="./index/magnific-popup.css" rel="stylesheet">
    <link href="./index/styles.css" rel="stylesheet">
    <link rel="icon" href="./index/imc.png">
    <script type="text/javascript" src="./js/jquery.js"></script>
    <script type="text/javascript" src="./js/config.js"></script>
</head>
<body>

<!-- Header -->
<header id="header" class="header">
    <div class="header-content">
        <div class="container">
            <div class="row">
                <div class="col-lg-6">
                    <div class="text-container">
                        <h1>iMC<br>i <span id="js-rotating" class="morphext"><span
                                class="animated fadeIn">My Course</span></span></h1>
                        <p class="p-large" id="data">生成课程总量：</p>
                        <p class="p-large">iMC（原CSLG助手），一款适合常熟理工学生使用的课程软件！</p>
                        <a class="btn-solid-lg page-scroll" href="https://www.coolapk.com/apk/246419"><i></i>下载</a>
                        <a class="btn-solid-lg page-scroll" href="https://www.cslggroup.top/ical/"><i></i>ical日历课程</a>
                    </div>
                </div> <!-- end of col -->
                <div class="col-lg-6">
                    <div class="image-container">
                        <img class="img-fluid" src="./index/app.png">
                    </div> <!-- end of image-container -->
                </div> <!-- end of col -->
            </div> <!-- end of row -->
        </div> <!-- end of container -->
    </div> <!-- end of header-content -->
</header> <!-- end of header -->
<!-- end of header -->

<div class="copyright">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <p>ICP备案号：<a href="http://beian.miit.gov.cn/" target="_blank"
                             class="link link--text">皖ICP备19022988号-1</a></p>
            </div> <!-- end of col -->
        </div> <!-- enf of row -->
    </div> <!-- end of container -->
</div>
</body>
<script>
    var baseUrl = config.urlConfig.url;
    var settings = {
        "url": baseUrl + "/cslg/app/courseCount",
        "method": "GET",
        "timeout": 50000,
    };
    $.ajax(settings).done(function (response) {
        console.log(response);
        if (response.result === true) {
            $("#data").append(response.total);
        }
    });
</script>
</html>